package com.zzyl.service;

import com.aliyun.iot20180120.models.*;
import com.zzyl.base.PageResponse;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.DeviceDto;
import com.zzyl.dto.DevicePageQueryDto;
import com.zzyl.vo.DeviceVo;
import com.zzyl.vo.ProductVo;

import java.util.List;

/**
 * @Description DeviceService
 * @Author pengjun
 * @Date 2025-05-19  16:43
 */
public interface DeviceService {
    void syncProductList();


    List<ProductVo>allProduct();

    void registerDevice(DeviceDto deviceDto);

    PageResponse<DeviceVo> devicePageQuery(DevicePageQueryDto devicePageQuery);

    void updateDevice(DeviceVo deviceVo);

    DeviceVo queryDeviceDetail(QueryDeviceDetailRequest request);

    ResponseResult<QueryThingModelPublishedResponseBody.QueryThingModelPublishedResponseBodyData> queryThingModelPublished(QueryThingModelPublishedRequest request);

    void deleteDevice(DeleteDeviceRequest request);

    ResponseResult<QueryDevicePropertyStatusResponseBody.QueryDevicePropertyStatusResponseBodyData> queryDevicePropertyStatus(QueryDevicePropertyStatusRequest request);
}
